import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import pinia from './stores/index'

import ImageManager from "./manager/imageManager";
import ColorManager from './manager/colorManager';
import ResizeManager from './manager/resizeManager';
import DataManager from './manager/dataManager';
import Message from './tools/Message'
import { webConfig } from './tools/webConfig'

import 'element-plus/dist/index.css'

const app = createApp(App);

app.use(pinia);
app.use(router);

(window as any).router = router;

app.mount('#app');

new webConfig();

new ImageManager();
new ColorManager();
new ResizeManager();
new DataManager();
new Message();
